package com.sikaryofficial.backend.constant.i18n;

/**
 * @author : qinjinyuan
 * @desc : 国际化异常信息key配置
 * @date : 2023/10/31 17:37
 */
public class ExceptionConstant {
    /**
     * 参数异常
     * param error.
     */
    public static final String PARAM_ERROR = "PARAM_ERROR";
    // =============================活动======================================
    /**
     * 活动未开始或已结束
     * The event has not started or has ended
     */
    public static final String ACTIVITY_TIME_ERROR = "ACTIVITY_TIME_ERROR";
    /**
     * 活动库存不足，请下次参与
     * The current activity inventory is out, please make a purchase next time
     */
    public static final String ACTIVITY_INVENTORY_OUT = "ACTIVITY_INVENTORY_OUT";
    /**
     * 活动已下架
     * Activity has been taken down
     */
    public static final String ACTIVITY_TAKEN_DOWN = "ACTIVITY_TAKEN_DOWN";
    /**
     * Appointment confirmed. Remember to join the flash sale on time（查询是否已经预约过）
     */
    public static final String RESERVE_CONFIRMED_MSG = "RESERVE_CONFIRMED_MSG";
    /**
     * You've entered the flash sale. Keep an eye on the winning page and email notifications. Good luck!
     * （判定是否已抢购
     */
    public static final String HAS_ATTEND_MSG = "HAS_ATTEND_MSG";
    /**
     * The activity is in progress and appointments cannot be made
     * 活动进行中，不能进行预约
     */
    public static final String VERIFY_RESERVE_MSG = "VERIFY_RESERVE_MSG";

    /**
     * 今日机会用完，明日继续
     */
    public static final String ACTIVITY_ATTEND_NUM_CONTROL_MSG = "ACTIVITY_ATTEND_NUM_CONTROL_MSG";

    /**
     * 机会用完，明日继续
     */
    public static final String ACTIVITY_ATTEND_QRCODE_NUM_CONTROL_MSG = "ACTIVITY_ATTEND_QRCODE_NUM_CONTROL_MSG";

    // ============================积分======================================
    /**
     * Not enough points（积分不足）
     */
    public static final String POINTS_NO_ENOUGH = "POINTS_NO_ENOUGH";


    // ====================验证码发送 等操作======================
    /**
     * The email verification code has been sent. Please check your email later.
     */
    public static final String EMAIL_VERIFICATION_ERROR_MSG = "EMAIL_VERIFICATION_ERROR_MSG";

    /**
     * send mail Captcha success
     */
    public static final String SEND_MAIL_CAPTCHA_SUCCESS_MSG = "SEND_MAIL_CAPTCHA_SUCCESS_MSG";

    // =====================屏蔽 等操作======================
    /**
     * Cannot operate your own
     */
    public static final String CANNOT_OPERATE_YOUR_OWN = "CANNOT_OPERATE_YOUR_OWN";
    /**
     * "Operate object not exist"
     */
    public static final String OPERATE_OBJECT_NOT_EXIST = "OPERATE_OBJECT_NOT_EXIST";


    // =====================奖品相关=======================
    public static final String PRIZE_NO_ENOUGH = "PRIZE_NO_ENOUGH";

    //  礼品库存充足，用户积分不足
    public static final String PRIZE_STOCK_OR_POINTS_ENOUGH = "PRIZE_STOCK_OR_POINTS_ENOUGH";
    public static final String PRIZE_NOT_EXIST = "PRIZE_NOT_EXIST";

    /**
     * 所有对接礼品的次数限制
     */
    public static final String PRIZE_REDEEM_TOTAL_LIMIT = "PRIZE_REDEEM_TOTAL_LIMIT";
    /**
     * 相同礼品的次数限制
     */
    public static final String PRIZE_ONE_REDEEM_LIMIT = "PRIZE_ONE_REDEEM_LIMIT";
}
